

class Parent {
  def foo(bar: Int = 1, baz: Int = 2): Int =
    bar + baz
}
class Child extends Parent {
  override def foo(baz: Int = 3, bar: Int = 4): Int =
    super.foo(baz,bar)
}

